﻿package cn.poco.constants;

public class Constants {
	
	//Activity标题
	public final static String ACTIVITY_TOP_TITLE = "activity_top_title";
	//错误提示
	public final static int CONN_ERROR = 401;
	//获取图片成功
	public final static int GET_IMAGE_SUCCESS = 101;
	//图片URI
	public final static String IMAGE_URI = "image_uri";
	//图片描述
	public final static String IMAGE_DES = "image_des";
	//专题ID
	public final static String TOPIC_ID = "topic_id";
	//排行POCOER OR EDITER
	public final static String FLAG ="flag";
	//排行ID
	public final static String RANK_ID = "rank_id";
	public final static String RANK_NAME = "rank_name";
	
	
	//TOP100
	public final static String TOP_RANK = "top_rank";
	/** 城市代码 **/
	public final static String CITY_CODE = "citycode";
	public final static String GPS_CITY_CODE = "gpscitycode";
	public final static String CITY_NAME = "cityname";
	/** 城市区域代码 **/
	public final static String AREA_CODE = "area_code";
	/** 商区代码 **/
	public final static String CIRCLE_CODE = "circleCode";
	/** 餐厅代码 **/
	public final static String RES_CODE = "rescode";
	
	/** 餐厅名 **/
	public final static String RES_TITLE = "restitle";
	/** 餐厅星级 **/
	public final static String RES_STAR = "restar";
	/** 餐厅人均消费 **/
	public final static String RES_AVERAGE = "resaverage";
	/** 餐厅菜式 **/
	public final static String RES_DISH = "resdish";
	/** 餐厅所属商区 **/
	public final static String RES_CIRCLE = "rescircle";
	/** 餐厅地址 **/
	public final static String RES_ADDRESS = "resaddress";
	/** 餐厅电话**/
	public final static String RES_TEL = "restel";
	/** 主要菜式**/
	public final static String RES_MAIN_DISH = "resmaindish";
	/** 餐厅介绍 **/
	public final static String RES_INTRO = "resintro";
	/** 是否加盟餐厅**/
	public final static String RES_JOIN = "resjoin";
	/** 是否百事加盟**/
	public final static String RES_PEPSI = "respepsi";
	/** 是否有折扣**/
	public final static String RES_DISCOUNT = "resdiscount";
	/** 经纬度 **/
	public final static String RES_LOCATION = "reslocation";
	/** 评论数 **/
	public final static String RES_COMMENTS = "res_comments";
	/** 图片数 **/
	public final static String RES_IMAGES = "res_images";
	/** 下一页记录 **/
	public final static int NEXT_PAGE = 11;
	/** webview显示Url **/
	public final static String WEB_VIEW_URL = "webviewurl";
	/** 搜索内容 **/
	public final static String SEARCH_CONTENT = "searchcontent";
	/** 优惠卷ID **/
	public final static String DISCOUNT_ID = "discountid";
	/** 餐厅星级 **/
	public final static int ZERO_STAR = 0;
	public final static int ONE_STAR = 1;
	public final static int TWO_STAR = 2;
	public final static int THREE_STAR = 3;
	public final static int FOUR_STAR = 4;
	public final static int FIVE_STAR = 5;
	
	
	/** 优惠信息 **/
	public final static String DISCOUNT_TYPE = "discount_type"; 
	public final static String IS_DISCOUNT = "is_discount"; 
	public final static String AREA_ID = "area_id"; 
	public final static String IS_SMS = "is_sms";
	public final static String IS_CARD = "is_card";
	
	/** GPS改变 **/
	public final static int GPS_UPDATE = 888; 
	public final static int GPS_LOCATION_CHANGE = 999; 
	public final static String GPS_DATA = "gps_data"; 
	public final static String GPS_LAT = "gps_lat";
	public static String GPS_LAT_DATA="";
	public static String GPS_LON_DATA="";
	
	public final static String GPS_LONG = "gps_long";
	public final static int NO_GPS = 777; 
	public final static int STOP_GPS = 543; 
	//附近模块
	public final static String NEAR_MODULE = "near_module";
	
	
	//下面是活动模块信息
	public final static String ACTIVITY_ID = "activity_id";
	public final static String ACTIVITY_TITLE = "activity_title";
	public final static String ACTIVITY_IMAGE = "activity_image";
	public final static String ACTIVITY_SDATE = "activity_sdate";
	public final static String ACTIVITY_EDATE = "activity_edate";
	public final static String ACTIVITY_PRICE = "activity_price";
	public final static String ACTIVITY_AUTHOR = "activity_author";
	public final static String ACTIVITY_PEOPLE = "activity_people";
	public final static String ACTIVITY_AREA = "activity_area";
	public final static String ACTIVITY_DESRIPTION = "activity_desription";
	public final static String ACTIVITY_ISRUNIND = "activity_isrunind";
	public final static String ACTIVITY_RESID = "activity_resid";
	public final static String ACTIVITY_RESTITLE = "activity_restitle";
	
	//地图信息
	public final static String MAP_TITLE = "map_title";
	public final static String MAP_LAT = "map_lat";
	public final static String MAP_LON = "map_lon";
	
	//排行榜模块
	public final static String RANK_MODEL = "rank_model";
	public final static String RANK_CLASS_ID = "rank_class_id";
	
	
	//地区菜单模块
	public final static int UPDATE_DISH = 505;
	
	
	//优惠模块
	public final static String DISCOUNT_MODEL = "discount_model";
	
	//网友推荐美食模块
	public final static String DIARY_RES_TITLE = "diary_res_title";
	public final static String DIARY_TITLE = "diary_title";
	public final static String DIARY_TIME = "diary_time";
	public final static String DIARY_AUCTOR = "diary_auctor";
	public final static String DIARY_RES = "diary_res";
	public final static String DIARY_ADDRESS = "diary_address";
	public final static String DIARY_CONTENT = "diary_content";
	public final static String DIARY_IMAGE = "diary_image";
	public final static String DIARY_ID = "DIARY_ID";
	
	
	//退出程序判断
	public  static String exit="start";
}
